<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="js/jquery-3.2.1.min.js" ></script>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.min.css" />
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js" ></script>
</head>
<style>
	*{
		margin:0;
		padding:0;
	}
</style>
<body style="font-size: 20px;">
	<div class="top" style="padding: 20px 30px 10px; font-size: 16px;">
		<a href="#">订单</a>/ <a href="#">单据管理</a>/ <span>发货单列表</span>
	</div>
	<div class="bottom">
		<div class="container-fluid">
			<div class="row-fluid">
		<div class="span12" style="width: 96%;">
					<table class="table">
						<thead>
							<tr>
								<th>商品名称</th>
								<th>商品数量</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${orderDB}" var="u" varStatus="vs">
								<tr>
									<td>${u.g_name}</td>
									<td>${u.g_num}</td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
					<div class="row-fluid">
						<div class="span12">
							<table class="table">
								<tbody>
									<tr class="info">
										<td style="text-align: right; width: 200px;">订单号：</td>
										<td>${order.o_code}</td>
										<td style="text-align: right; width: 200px;">配送方式：</td>
										<td>${order.ship_mode eq 0?"先收款后发货":"货到付款"}</td>
										<td style="text-align: right; width: 200px;">订单时间：</td>
										<td>${order.buy_date}</td>
									</tr>
									<tr>
										<td style="text-align: right; width: 200px;">操作员：</td>
										<td>${vip.vname}</td>
										<td style="text-align: right; width: 200px;">会员名：</td>
										<td>${vip.vname}</td>
										<td style="text-align: right; width: 200px;">收货人：</td>
										<td>${rdB.r_name}</td>
									</tr>
									<tr class="info">
										<td style="text-align: right; width: 200px;">收获地区：</td>
										<td>${rdB.a_name}</td>
										<td style="text-align: right; width: 200px;">收货地址：</td>
										<td>${rdB.address}</td>
										<td style="text-align: right; width: 200px;">邮编：</td>
										<td>${rdB.zip_code}</td>
									</tr>
									<tr>
										<td style="text-align: right; width: 200px;">电话：</td>
										<td>${rdB.phone}</td>
										<td style="text-align: right; width: 200px;">手机：</td>
										<td>${rdB.tel}</td>
										<td style="text-align: right; width: 200px;">运费：</td>
										<td>${fareall}</td>
									</tr>
									<tr class="info">
										<td style="text-align: right; width: 200px;">物流单号：</td>
										<td>${invoice.courier_num}</td>
										<td style="text-align: right; width: 200px;">生成时间：</td>
										<td>${invoice.donedate}</td>
										<td></td>
										<td></td>
									</tr>
								</tbody>
							</table>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>